import request from '@/utils/request'

export function list(data) {
  return request({
    url: '/device/basicInformation/maintenance/list',
    method: 'post',
    data: data
  })
}

export function addOrUpdate(data) {
  return request({
    url: '/device/basicInformation/maintenance/addOrEdit',
    method: 'post',
    data: data
  })
}
export function getInfo(data) {
  return request({
    url: '/device/basicInformation/maintenance/' + data,
    method: 'get'
  })
}
export function remove(data) {
  return request({
    url: '/device/basicInformation/maintenance/delete',
    method: 'post',
    data: { deleteIds: data }
  })
}

export function userList(data) {
  return request({
    url: '/device/basicInformation/maintenance/userList',
    method: 'post',
    data: data
  })
}
